lcBlockAddDimOrd LiteCAD API

Adds a new ordinate dimension object into a block.

 HANDLE lcBlockAddDimOrd (
   HANDLE hBlock,
   double Xd,
   double Yd,
   double Xt,
   double Yt,
   double bX,
   LPCWSTR szText
 );

Parameters
hBlock
  Handle to a block.
Xd Yd
  Definition point.
Xt Yt
  Text position.
szText
  User-supplied dimension text.
If no text is to appear, supply "." .
If only the default text is to appear, supply an empty string "".
The default text is represented as "<>" within the supplied text.

Return Value

  Handle to created ordinate dimension object or NULL if the function fails.

See Also

  Dimension style,   Code sample